package com.sk.bilibili.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sk.bilibili.bean.Search;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
* @author 邵康
* @date 2021/11/23 21:07
*/
@Repository
public interface SearchMapper extends BaseMapper<Search> {

    List<Search> getRandom(Integer size);

    List<Map<String,Object>> getOverMembers();

    void deleteOver(Integer id, Long num);

}
